//
//  ViewController.m
//  DrawBezierDemo
//
//  Created by wulanzhou on 16/5/12.
//  Copyright © 2016年 wulanzhou. All rights reserved.
//

#import "ViewController.h"
#import "BezierView.h"
#import "IndoorAir.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor=[UIColor redColor];
    
    
    IndoorAir *mod=[[IndoorAir alloc] init];
    mod.pm=58;//(最大范围为0-70)

    //添加扇形
    BezierView *view=[[BezierView alloc] initWithFrame:self.view.bounds];
    view.bezierDoorAir=mod;//数据源
    [self.view addSubview:view];

}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
